.mmv {
  &-layout {
    zoom: 1;
    width: 1000px;
    margin: 0 auto;
    padding-left: 100px;
    padding-right: 100px;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    &__main {
      float: left;
      width: 700px;
    }
    &__sub {
      float: right;
      width: 280px;
      &title {
        height: 50px;
        line-height: 50px;
        border-bottom: 1px solid #ebebeb;
        padding: 0 20px;
        background-color: #fff;
        font-size: 16px;
        font-weight: 600;
      }
    }
    &::after {
      content: '';
      display: block;
      visibility: hidden;
      height: 0;
      clear: both;
      font-size: 0
    }
  }
  &-main-page {
    padding-top: 30px;
  }
  &-container {
    background-color: #fff;
    border-radius: 4px;
    &__footer {
      height: 70px;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      justify-content: center;
      align-items: center;
      border-top: 1px solid #ebebeb
    }
  }
  &-forum {
    padding-top: 56px;
  }
  &-link:hover {
    color: #4cc3ff;
  }
  &-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
  }
  &-heart-click {
    position: relative;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
  }
  &-toast {
    border-radius: 4px !important;
    padding: 10px 20px !important;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    padding: 0.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.65);
    line-height: 1.5;
    max-width: 60%;
    border-radius: 0.2rem;
    color: #fff;
    z-index: 9999;
    font-size: 14px;
  }
  &-custom-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.65);
    line-height: 1.5;
    max-width: 60%;
    border-radius: 4px;
    color: #fff;
    z-index: 9999;
    font-size: 14px;
  }
  &-button {
    display: inline-block;
    cursor: pointer;
    flex-shrink: 0;
    &__button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      outline: none;
      width: 100%;
      height: 100%;
      background-color: transparent;
      border: none;
      border-radius: 0;
      font-weight: inherit;
      line-height: inherit;
    }
    &-text &__button {
      color: #999;
    }
  }
  &-loadmore {
    &__nomore,
    &__btn .mmv-button__button {
      color: #ccc;
      font-size: 16px;
    }
    &__btn {
      .mmv-button__button {
        color: #4cc3ff;
        padding: 10px 0;
      }
    }
  }
}

.root {
  width: 100%
}

.root.root-iframe .root-page-container {
  padding: 62px 0 0
}

.root.root-iframe .footer {
  display: none
}

.pointer {
  cursor: pointer
}

.error-color {
  color: #ff667f !important
}

.root-page-container {
  padding: 62px 0;
  background: url(https://bbs.mihoyo.com/ys/_nuxt/img/c0e9f5b.png) no-repeat 0 62px;
  background-size: 100%
}

.main-loading {
  padding: 100px 0;
  height: 40px;
  width: 100%;
  box-sizing: content-box;
  &::after {
    content: '';
    display: block;
    height: 40px;
    background: no-repeat url() center;
    background-size: 40px 40px;
  }
}

.frame-loading {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  padding: 0;
  height: 100px;
  &__inner {
    position: relative;
    width: 10px;
    height: 30px;
    background-color: #d9d9d9;
    &::before,
    &::after {
      position: absolute;
      width: 10px;
      height: 30px;
      content: '';
      background-color: #d9d9d9;
    }
    &::before {
      left: -20px;
      animation: rectangle infinite 1s ease-in-out -0.4s;
    }
    &::after {
      right: -20px;
      animation: rectangle infinite 1s ease-in-out;
    }
  }
}

.img-scale {
  height: 100%;
  width: 100%;
  background-image: url(https://bbs.mihoyo.com/ys/_nuxt/img/9b7080c.png);
  background-repeat: no-repeat;
  background-size: cover;
  transition: transform 300ms ease;
  &:hover {
    transform: scale(1.2);
  }
}

.auth-type {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1
}

.auth-type__icons {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 90px;
  -ms-flex-negative: 0;
  flex-shrink: 0
}

.auth-type__icons .mhy-icon {
  font-size: 14px;
  margin-right: 4px
}

.ql-container {
  font-family: inherit;
}

.ql-toolbar.ql-snow.ql-format-disabled button.ql-bold,
.ql-toolbar.ql-snow.ql-format-disabled button.ql-align,
.ql-toolbar.ql-snow.ql-format-disabled button.ql-italic,
.ql-toolbar.ql-snow.ql-format-disabled button.ql-header {
  pointer-events: none
}

.ql-toolbar.ql-snow.ql-format-disabled button.ql-bold .ql-stroke,
.ql-toolbar.ql-snow.ql-format-disabled button.ql-align .ql-stroke,
.ql-toolbar.ql-snow.ql-format-disabled button.ql-italic .ql-stroke,
.ql-toolbar.ql-snow.ql-format-disabled button.ql-header .ql-stroke {
  stroke: #ebebeb !important
}

.ql-toolbar.ql-snow.ql-format-disabled button.ql-bold .ql-fill,
.ql-toolbar.ql-snow.ql-format-disabled button.ql-align .ql-fill,
.ql-toolbar.ql-snow.ql-format-disabled button.ql-italic .ql-fill,
.ql-toolbar.ql-snow.ql-format-disabled button.ql-header .ql-fill {
  fill: #ebebeb !important
}

.mmv-simple-editor .ql-tooltip {
  display: none
}

.mmv-simple-editor .ql-container {
  border: none;
  white-space: pre-wrap
}

.mmv-simple-editor .ql-container img:not(.emoticon-image) {
  display: block
}

.mmv-simple-editor .ql-editor {
  font-size: 14px;
  padding: 10px;
  white-space: pre-wrap
}

.mmv-simple-editor .ql-editor.ql-blank::before {
  color: #ccc;
  font-style: normal
}

.mmv-simple-editor .ql-editor img {
  height: auto;
  max-width: 100%
}

.mmv-simple-editor .ql-blot-focused {
  position: relative
}

.mmv-simple-editor .ql-blot-focused * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none
}

.mmv-simple-editor .ql-image.ql-blot-focused img {
  -webkit-box-shadow: 0 0 0 2px #4cc3ff;
  box-shadow: 0 0 0 2px #4cc3ff
}

.mmv-simple-editor .ql-image.ql-blot-focused .ql-blot-del {
  display: block
}

.mmv-simple-editor .ql-blot-del {
  position: absolute;
  cursor: pointer;
  right: -15px;
  top: -15px;
  width: 30px;
  height: 30px;
  background: url() 50% no-repeat;
  background-size: cover;
  display: none;
  z-index: 100
}

.mmv-simple-editor .ql-frame {
  position: relative
}

.mmv-simple-editor .ql-frame::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100
}

.mmv-simple-editor .ql-frame.ql-blot-focused {
  -webkit-box-shadow: 0 0 0 2px #4cc3ff;
  box-shadow: 0 0 0 2px #4cc3ff
}

.mmv-simple-editor .ql-frame.ql-blot-focused::after {
  display: none
}

.mmv-simple-editor .ql-frame.ql-blot-focused .ql-blot-del {
  display: block
}

.mmv-img-text-article.ql-snow .ql-editor h1,
.mmv-simple-editor .ql-snow .ql-editor h1 {
  font-size: 20px
}

.mmv-img-text-article.ql-snow .ql-editor h2,
.mmv-simple-editor .ql-snow .ql-editor h2 {
  font-size: 18px
}

.mmv-img-text-article.ql-snow .ql-editor h3,
.mmv-img-text-article.ql-snow .ql-editor h4,
.mmv-img-text-article.ql-snow .ql-editor h5,
.mmv-img-text-article.ql-snow .ql-editor h6,
.mmv-simple-editor .ql-snow .ql-editor h3,
.mmv-simple-editor .ql-snow .ql-editor h4,
.mmv-simple-editor .ql-snow .ql-editor h5,
.mmv-simple-editor .ql-snow .ql-editor h6 {
  font-size: 16px;
  font-weight: normal
}

.ql-editor .ql-image {
  display: block;
  text-align: center;
  font-size: 0;
  margin: 20px 0
}

.ql-editor .ql-image:first-child {
  margin-top: 0
}

.ql-editor .ql-image img {
  display: block;
  margin: 0 !important;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  cursor: default
}

.ql-editor .ql-image+.ql-image {
  margin-top: 0
}

.reply-editor .ql-editor .ql-image {
  text-align: left;
  margin: 15px 0
}

.reply-editor .ql-editor .ql-image .ql-image-box {
  max-width: 90%
}

.reply-editor .ql-editor .ql-image .ql-image-box img {
  max-width: 100%
}

.ql-editor .ql-image-box {
  display: inline-block;
  font-size: 0;
  position: relative
}

.ql-editor img:not(.emoticon-image) {
  display: block;
  margin: 20px auto;
  height: auto;
  max-width: 100%
}

.ql-editor img:not(.emoticon-image)+img:not(.emoticon-image) {
  margin-top: 0
}

.reply-editor .ql-editor img:not(.emoticon-image) {
  margin: 15px 0;
  max-width: 90%
}

.ql-editor p+.ql-image,
.ql-editor p+img:not(.emoticon-image) {
  margin-top: 16px
}

.ql-editor .ql-image+p,
.ql-editor img:not(.emoticon-image)+p,
.ql-editor .ql-frame+p,
.ql-editor iframe+p {
  margin-top: -4px
}

.ql-editor .ql-image+iframe,
.ql-editor iframe+.ql-image,
.ql-editor img:not(.emoticon-image)+iframe,
.ql-editor iframe+img:not(.emoticon-image),
.ql-editor .ql-image+.ql-frame,
.ql-editor .ql-frame+.ql-image,
.ql-editor img:not(.emoticon-image)+.ql-frame,
.ql-editor .ql-frame+img:not(.emoticon-image) {
  margin-top: 0
}

.ql-editor iframe,
.ql-editor .ql-frame {
  display: block;
  margin: 20px 0
}

.ql-editor iframe:first-child,
.ql-editor .ql-frame:first-child {
  margin-top: 0
}

.ql-editor iframe+iframe,
.ql-editor iframe+.ql-frame,
.ql-editor .ql-frame+iframe,
.ql-editor .ql-frame+.ql-frame {
  margin-top: 0
}

.ql-editor .ql-frame iframe {
  margin: 0
}

.ql-editor .emoticon-image {
  display: inline-block
}